<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div class="list" style="display:flex ; text-align:center;">

    </div>
</body>

</html>
<script>
    function ajax(me, url, han) {
        let xhr = new XMLHttpRequest()
        xhr.open(me, url)
        xhr.onreadystatechange = function () {
            if (xhr.readyState == 4) {
                han(xhr.responseText);
            }
        }
        xhr.send()
    }
    ajax('get', 'https://yantianfeng.com/api/employees', function (data) {
        console.log(data);
        
    })
</script>